/* 右设置 */

.right {
    width: 50%;
    float: right;
}

.rBox {
    /* 上下 左右 内边 */
    display: flex;
    /* 居中 */
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff;
    overflow: hidden;
}

.rBox .txt {
    width: 100%;
    text-align: center;
    font-weight: 300;
}

.rBox .txt h1 {
    font-size: 30px;
    margin: 20px 0;
}

.rBox .txt p {
    width: 70%;
    font-size: 20px;
    font-weight: inherit;
    line-height: 30px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(9, 129, 226, 0.5);
    margin: 20px auto;
}

/* 头像制作 */

.rBox .photo {
    width: 100%;
    position: relative;
    top: 20%;
    text-align: center;
}

.rBox .photo img {
    border-radius: 50%;
    width: 128px;
    height: 128px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(209, 59, 104, 0.3);
}

.rBox .photo img:hover {
    transform: scale(1.2);
    /* 皮卡皮卡 */
    filter: brightness(105%);
}

/* 导航栏 */

/* 预留窗口用于响应判定 */
.guideWin {
    width: 100%;
    height: 63.5px;
    margin: 0 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 响应移动的组件 */
.guide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.rBox nav ul {
    width: 420px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
    position: relative;
}

.rBox nav li {
    display: inline-block;
    margin: 20px 50px;
}

.rBox nav a {
    color: #050505;
    width: 36px;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(239, 242, 65, 0.8);
}

/* 滑块制作 */

.rBox .slider {
    width: 80px;
    height: 50px;
    background-color: rgba(239, 242, 65, 0.8);
    border-radius: 4px;
    left: 34px;
    top: 6px;
    position: absolute;
    animation: 2s ease-in-out waves infinite;
}

/* 加入 js 后失效 */
.rBox nav li:nth-child(1):hover~.slider {
    left: 34px;
}

.rBox nav li:nth-child(2):hover~.slider {
    left: 170px;
}

.rBox nav li:nth-child(3):hover~.slider {
    left: 306px;
}

@keyframes waves {
    from {
        clip-path: polygon(0% 17%,
                9% 10%,
                18% 4%,
                30% 0%,
                43% 1%,
                49% 4%,
                57% 7%,
                66% 10%,
                78% 11%,
                89% 11%,
                96% 9%,
                100% 7%,
                100% 100%,
                0% 100%);
    }

    50% {
        clip-path: polygon(0% 4%,
                6% 9%,
                13% 13%,
                23% 15%,
                31% 16%,
                42% 15%,
                49% 13%,
                61% 10%,
                71% 5%,
                81% 3%,
                90% 2%,
                100% 5%,
                100% 100%,
                0% 100%);
    }

    to {
        clip-path: polygon(0% 17%,
                9% 10%,
                18% 4%,
                30% 0%,
                43% 1%,
                49% 4%,
                57% 7%,
                66% 10%,
                78% 11%,
                89% 11%,
                96% 9%,
                100% 7%,
                100% 100%,
                0% 100%);
    }
}

/* 播放器制作 */

.rBox .playerWin, .rBox .player {
    width: 100%;
    height: 102px;
    overflow: hidden;
}

.rBox .player iframe {
    border: none;
    width: 420px;
}